import React, { Suspense } from 'react';
import ReactDOM from 'react-dom/client';
import { RouterProvider } from 'react-router-dom'
import router from './router'
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <React.StrictMode>
    <Suspense fallback={<h2>玩命加载中···</h2>}>
      <RouterProvider router={router}/>
    </Suspense>
  </React.StrictMode>
);

